package domain

/**
GPU信息
*/
type Gpu struct {
	Temp        []GpuItem `json:"temp"`        //温度(C)
	Usage       []GpuItem `json:"usage"`       //显存使用(使用情况 MiB)
	UsedPercent []GpuItem `json:"usedPercent"` //使用占比(%)
}

//temp: [{ data:["72","72C"],name: 0 },{ data:["72","72C"],name: 1 }]
//usage: [{ data:["8493","8493Mib/15079Mib"],name: 0 },{ data:["9403","9403Mib/15079Mib"],name: 1 }]
//usedPercent: [{ data:["56","56%"],name: 0 },{ data:["43","43%"],name: 1 }]
type GpuItem struct {
	Data []string `json:"data"`
	Name int      `json:"name"`
}
